With the use of oriented-object technology and design pattern idea, it implements the class structure of lexical analysis, data structure, symbol table and syntax parsing. 通过对面向对象的技术的具体应用,透过使用设计模式的思想增强了系统的可维护性、可扩展性以及可复用性。
The compiler of EP consists internally of lexical scanner module, parser module, semantic analyzer, target code generator module, symbol table management module and error handle module. 编译器由词法分析、语法分析、语义分析、目标代码生成、符号表管理、错误处理六部分组成。